import request from '@/utils/request'
// 列表
export function getMaintain(query) {
  return request({
    url: '/car/carMaintain/list',
    method: 'get',
    params: query
  })
}

// 查询详细 
export function getMaintainDetails(id) {
  return request({
    url: '/car/carMaintain/' + id,
    method: 'get'
  })
}


// 删除
export function delMaintain(id) {
  return request({
    url: '/car/carMaintain/' + id,
    method: 'delete'
  })
}
